﻿@extends('home.layout.demo')
   		<div class="row" style="background:white;margin-top:100px;margin-left:10px;">
  			<div class="col-md-12" style="height:50px;border-bottom:1px #ccc solid;">
  				<a href="" style="font-size:20px;line-height:50px;">{{$content->type}} ></a>
				
  			</div>
            @foreach($videos as $k=>$v)
          <div class="moco-course-wrap  course-card-container" style="height:160px;margin-left:12px;margin-top:20px;">
            <a href="/play/index?vid={{$v->id}}">
                <div class="moco-course-box">
                	@if($v->vips !='')
                	<img style="position:absolute;width:20px;height:10px;" src="{{asset('homeCSS\img\QQ截图20170408154156.png')}}" alt="">
                	@endif
                    <img width="100%" src="{{$v->url}}" alt="">
                    <div class="moco-course-intro" style="margin-top:60px;background:rgba(0,0,0,0.2)">
                       <p style="font-size:13px;color:white;">{{$v->describe}}</p>
                    </div>
                    <div class="moco-course-bottom" style="height:51px" >
                      <span  style="height:20px;line-height:20px;font-size:15px;margin-top:2px;color:#4f5050;">电影名称</span>
                      <span  style="height:20px;line-height:20px;font-size:15px;margin-top:2px;margin-left:40px;color:#4f5050;">{{$v->film}}</span>
                      <br><p style="width:200px;height:18px;line-height:18px;margin:-7px 0px;font-size:13px">播放{{$v->click}}<span style="margin-left:40px">评论{{$v->click}}</span></p>
                    </div>
                </div>
            </a>
          </div>
          @endforeach
  		</div>
      <div align="center">{!! $videos->appends($all)->render() !!}</div>
       <!--轮播图下小图片-->
         <div class="col-md-12" role="listbox" style="margin-top:30px;margin-bottom:10px;"> 
            <a href="/ads"><img src="{{$ad->content}}" height="100px" width="100%" alt="..."></a>
         </div>

	</div>
   </div>
  </div> 
  